-
Home
-
Advanced Coupons – WooCommerce Coupons & Store Credit
-
4.5.1
-
Code
-
Classes
- Admin
| Total Complexity |
62 |
| Dependencies |
4 |
| Dependents |
4 |
| Total lines |
411 |
| Lines of code |
167 |
| Logical lines of code |
89 |
| Comment lines |
163 |
| Methods |
13 |
| Properties |
4 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| ajax_save_bogo_deals() |
B |
44 |
21 |
36 |
| _sanitize_product_data() |
A |
48 |
12 |
32 |
| ajax_clear_bogo_deals() |
A |
52 |
8 |
21 |
| _set_notice_settings_default_values() |
S |
59 |
5 |
15 |
| append_bogo_discount_to_edit_order_coupon_value() |
S |
65 |
4 |
8 |
| _migrate_coupon_types_to_bogo_on_activate() |
S |
58 |
2 |
18 |
| get_instance() |
S |
70 |
2 |
6 |
| initialize() |
S |
67 |
2 |
8 |
| run() |
S |
67 |
2 |
7 |
| __construct() |
S |
70 |
1 |
6 |
| register_bogo_coupon_type() |
S |
75 |
1 |
4 |
| _save_bogo_deals() |
S |
78 |
1 |
3 |
| activate() |
S |
82 |
1 |
3 |